//
//  MarriagePlanModel.h
//  BaseProject
//
//  Created by mac on 2020/11/20.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>
@class MarriagePlanDataModel,MarriagePlanDataListModel,MarriagePlanSectionModel;
NS_ASSUME_NONNULL_BEGIN

@interface MarriagePlanModel : NSObject
@property(nonatomic,assign)BOOL success;
@property(nonatomic,assign)NSInteger code;
@property(nonatomic,copy)NSString *message;
@property(nonatomic,strong)MarriagePlanDataModel *data;
@end


@interface MarriagePlanDataModel : NSObject
@property(nonatomic,strong)NSArray<MarriagePlanDataListModel *> *endOneDayList;
@property(nonatomic,strong)NSArray<MarriagePlanDataListModel *> *endOneMonthList;
@property(nonatomic,strong)NSArray<MarriagePlanDataListModel *> *endTwoDayList;
@property(nonatomic,strong)NSArray<MarriagePlanDataListModel *> *myTaskList;
@property(nonatomic,strong)NSArray<MarriagePlanDataListModel *> *nineToTwelveList;

@property(nonatomic,strong)NSArray<MarriagePlanDataListModel *> *oneDayList;
@property(nonatomic,strong)NSArray<MarriagePlanDataListModel *> *oneMonthList;
@property(nonatomic,strong)NSArray<MarriagePlanDataListModel *> *oneWeekList;
@property(nonatomic,strong)NSArray<MarriagePlanDataListModel *> *sixToEightList;
@property(nonatomic,strong)NSArray<MarriagePlanDataListModel *> *threeToFiveList;

@property(nonatomic,strong)NSArray<MarriagePlanDataListModel *> *toDayList;
@property(nonatomic,strong)NSArray<MarriagePlanDataListModel *> *twoWeekList;

@property(nonatomic,copy)NSString *marryDate;//婚期日期
@property(nonatomic,assign)NSInteger marryOverDate;//婚期剩余天数
@property(nonatomic,assign)NSInteger marryOverTaskTotal;//备婚任务已完成数量
@property(nonatomic,copy)NSString *marryStatus;//婚期状态
@property(nonatomic,assign)NSInteger marryTaskTotal;//备婚任务总数
@end

@interface MarriagePlanDataListModel : NSObject
@property(nonatomic,copy)NSString *overTime;//完成时间
@property(nonatomic,copy)NSString *plansContent;//计划内容
//备婚时段（0:我的任务，1:9-12个月,2：6-8个月，3:3-5个月，4:1个月，5：两周，6:1周，7：1天，8：当天，9：结束第一天，10：结束第二天，11：结束一个月）
@property(nonatomic,copy)NSString *plansTime;
@property(nonatomic,copy)NSString *status;//状态（1：未完成，2：已完成）
@property(nonatomic,copy)NSString *type;//类型（1：个人创建，2：系统本地）

@property(nonatomic,copy)NSString *umpId;//备婚计划ID
@property(nonatomic,copy)NSString *umpoId;//主键ID
@property(nonatomic,copy)NSString *createTime;


@property(nonatomic,assign)BOOL isSelected;
@property(nonatomic,strong)NSMutableAttributedString *plansContentNormal;
@property(nonatomic,strong)NSMutableAttributedString *plansContentSelected;
@property(nonatomic,assign)CGFloat titleWidth;
@property(nonatomic,assign)CGFloat titleHeight;
@property(nonatomic,assign)CGFloat cellHeight;
@end

@interface MarriagePlanSectionModel : NSObject
@property(nonatomic,copy)NSString *plansTimeContent;
@property(nonatomic,copy)NSString *plansTime;
@property(nonatomic,assign)BOOL flex;
@property(nonatomic,strong)NSMutableArray<MarriagePlanDataListModel *> *list;
@property(nonatomic,assign)NSInteger succeedNumber;

@property(nonatomic,strong)NSMutableArray<MarriagePlanDataListModel *> *originList;
@end

NS_ASSUME_NONNULL_END
